﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Sino.CapacityCloud.WebApi
{
    public class TokenBasedClientErrorEventArgs
   : EventArgs
    {

        public string Message { get; set; }

        public Exception Exception { get; set; }

        public object Tag { get; set; }

        public TokenBasedClientErrorEventArgs()
            : this("", null, null)
        {
        }

        public TokenBasedClientErrorEventArgs(string message, Exception ex, object tag = null)
        {
            this.Message = message;
            this.Exception = ex;
            this.Tag = tag;
        }

    }
}
